using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace Friends.Data
{
    public partial class Folks
    {
        // For more information about the features contained in this class, please visit our GoogleCode Wiki at...
        // http://code.google.com/p/codesmith/wiki/PLINQO
        // Also, you can watch our Video Tutorials at...
        // http://community.codesmithtools.com/
        
        #region Metadata
        
        
        private class Metadata
        {
            // Only Attributes in the class will be preserved.
            
            public long FolksID { get; set; }
            
            [Required]
            public string FirstName { get; set; }
            
            [Required]
            public string LastName { get; set; }
            
            public string MailSalutaion { get; set; }
            
            public string Address { get; set; }
            
            public string Address2 { get; set; }
            
            [Required]
            public string City { get; set; }
            
            public string ST { get; set; }
            
            public string ZIP { get; set; }
            
            [DataType(DataType.PhoneNumber)]
            public string Phone { get; set; }
            
            [DataType(DataType.EmailAddress)]
            public string Email { get; set; }
            
            public int MembershipID { get; set; }
            
            public System.DateTime MemberSince { get; set; }
            
            public string MemberTill { get; set; }
            
            public bool Contactbyemail { get; set; }
            
            public bool Contactbyphone { get; set; }
            
            public bool Contactbymail { get; set; }
            
            public string PreferredContactMethod1 { get; set; }
            
            public string PreferredContactMethod2 { get; set; }
            
            public FolksXtra FolksXtra { get; set; }
            
            public EntitySet<CommitteeMembers> CommitteeMembersList { get; set; }
            
            public EntitySet<FolkInterests> FolkInterestsList { get; set; }
            
            public EntitySet<FolkTypes> FolkTypesList { get; set; }
            
            public EntitySet<Members> MembersList { get; set; }
            
            public EntitySet<PayDetails> FolkPayDetailsList { get; set; }
            
        }
        
        #endregion
    }
}